package acm.pta6;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class 大笨钟 {
    public static void main(String[] args) throws IOException {
        BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
        String[] read = in.readLine().split(":");
        int h = Integer.parseInt(read[0]);
        int m = Integer.parseInt(read[1]);
        int count=h+(m>0?1:0)-12;
        if (count>0){
            while (count-->0){
                System.out.print("Dang");
            }
        }else {
            System.out.println(String.format("Only %02d:%02d.  Too early to Dang.",h,m));
        }
    }
}
